package com.guo.fristspringboot.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data // 自动生成 get set toString equals hashCode
@AllArgsConstructor //有参构造
@NoArgsConstructor //无参构造
public class Student {

//    @JsonProperty("s_id")
    private String s_id;
//    @JsonProperty("s_name")
    private String s_name;
//    @JsonProperty("s_birth")
    private String s_birth;
//    @JsonProperty("s_sex")
    private String s_sex;

    private List<Course> courseList;

    private List<Score> scoreList;

}
